<div>
	<div class="panel-heading font-160 height-53">{{'ReserveVariation' | translate}}</div>
	<div class="panel-body">
		<table class="table table-striped">
			<thead>
				<tr>
					<th>#</th>
					<th>{{'ReserveVariation.date' | translate}}</th>
					<th>{{'ReserveVariation.reserve' | translate}}</th>
					<th>{{'ReserveVariation.variation' | translate}}</th>
					<th>{{'ReserveVariation.operation' | translate}}</th>
					<th>{{'ReserveVariation.type' | translate}}</th>
					<th>{{'username' | translate}}</th>
					<th>{{'date' | translate}}</th>
				</tr>
			</thead>
			<tbody>
				<tr class="animate-pagination" ng-repeat="variation in searchResults.results">
					<td>{{(searchResults.currentPage - 1) * searchResults.itemsPerPage + $index + 1}}</td>
					<td>{{variation.date | date : 'dd/MM/yyyy'}}</td>
					<td>{{variation.reserve}}</td>
					<td>{{variation.variation}}</td>
					<td>{{(variation.operation != null ? 'ReserveVariationOperation.' + variation.operation : '') | translate}}</td>
					<td>{{(variation.type != null ? 'ReserveType.' + variation.type : '') | translate}}</td>
					<td>{{variation.modification.userName}}</td>
					<td>{{variation.modification.date | date : 'dd/MM/yyyy'}}</td>
				</tr>
			</tbody>
		</table>
		<search-result-pagination></search-result-pagination>
		<div class="center">
			<button class="btn btn-warning" translate="cancel" ng-click="cancel()"></button>
		</div>
	</div>
</div>
